{extends file="../home.html"}
{block name="title"}{$head_title}{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="/Public/Css/front/front_css/my_wallet.css">
<style type="text/css">
body{
	background-color: #f3f3f3;
}
	.input_account{
		width: 100%;
		height: 2.5rem;
		background-color: #fff;
		color: #B4B4B4;
	}
	.account_input{
		width: 80%;
		height: 1.1rem;
		font-size: 0.8rem;
		color: #323232;
		position: relative;
		top:0.6rem;
		left:3.2%;
	}
	.done{
		width: 93.6%;
		height: 2.5rem;
		color: #fff;
		
		position: relative;
		top:2.0rem;
		left:3.2%;
		border-radius: 0.2rem;
		font-size: 0.9rem;
	}
	.grey{
		background-color: #B4B4B4;
	}
</style>
{/block}
{block name="content"}
<div class="title" style="border-bottom:0.05rem">
	
	<div class="return_icon"></div>
	<p><strong>提现</strong></p>
</div>

<div style="width:96.8%;height:1.5rem;background:#f3f3f3;font-size:0.65rem;color:#909090;line-height:1.5rem;padding-left:3.2%">
	请输入支付宝账户
</div>
<form>
<div class="input_account">
	<input type='tel' name="zhifubao_account" class="account_input" placeholder="手机号或邮箱">
</div>

<input type="submit" class="done grey" value="完成">
</form>
{/block}
{block name="js"}
{literal}
<script type="text/javascript">
	$('.return_icon').on('click',function(){
		window.location.href ='/Index/set_withdraw_account'
	});

	$('.account_input').bind('input propertychange',function(){
		$('.done').removeClass('grey');
		$('.done').addClass('orange');
		var number = $('.account_input').val();
		
		var length = number.length;
		console.log(number.length);
		if(length==0){
			$('.done').removeClass('orange');	
			$('.done').addClass('grey');
			
		}
		
	});
</script>
{/literal}
{/block}
